package cz.proks.easyhelpdesk.gae.core.ws;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import cz.proks.easyhelpdesk.api.TicketApi;
import cz.proks.easyhelpdesk.api.config.Configuration;
import cz.proks.easyhelpdesk.api.model.Ticket;
import cz.proks.easyhelpdesk.gae.core.manager.TicketManager;

@Component(Configuration.Core.WS.TICKET_API)
public class TicketApiImpl extends BaseApiImpl<Ticket> implements TicketApi {
    private final Logger log = LoggerFactory.getLogger(getClass());

    @Autowired
    private TicketManager manager;

    @Override
    protected TicketManager getManager() {
        return manager;
    }   
}
